package com.wzd.mphelper.mphelpertest.mapper;

import com.wzd.mphelper.mphelpertest.dto.request.SeedBeforePlanLandReqDTO;
import com.wzd.mphelper.mphelpertest.dto.response.SeedBeforePlanLandRespDTO;
import com.wzd.mphelper.mphelpertest.entity.SeedBeforePlanLand;
import com.wzd.mphelper.mphelpertest.subtable.annonations.TableShard;
import com.wzd.mphelper.mphelpertest.subtable.annonations.TableShardParam;
import com.wzd.mphelper.mphelpertest.subtable.mapper.CustomMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@TableShard(enableCreateTable = true, createTableMethod = "createTable")
public interface SeedBeforePlanLandMapper extends CustomMapper<SeedBeforePlanLand> {
    void createTable();

    List<SeedBeforePlanLandRespDTO> testLeftJoin(@TableShardParam String suffix, @Param("query")SeedBeforePlanLandReqDTO query);
}
